package com.fmjava.service_upload;

import com.baomidou.mybatisplus.generator.config.DataSourceConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;

/*
 *@ClassName UploadApplication
 *@Description 头像上传服务
 *@Author 吃麻椒的花酱
 *@Date 2021/7/7 15:34
 *@Version 1.0
 */
@SpringBootApplication(exclude = {
        DataSourceAutoConfiguration.class  /*取消自动加载数据库配置*/
})
@ComponentScan(basePackages = {"com.fmjava" })
public class UploadApplication {
    public static void main(String[] args) {
        SpringApplication.run(UploadApplication.class, args);
    }
}
